<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/list.css" />
		<link rel="stylesheet" type="text/css" href="../css/index.css" />
		<script src="../libs/requirejs/require.js" data-main="/js/list"></script>
	</head>
	<body>
		<header></header>
		<section>
			<div class="midd">
				<div class="route">
					<span>当前位置：</span>
					<a href="#">首页</a>
					<i>></i>
					<a href="#">蛋糕</a>
				</div>
				<div class="classtify">
					<span>蛋糕分类：</span>
					<ul>
						<li><a href="#">【新品上市】</a></li>
						<li><a href="#">天然奶油蛋糕</a></li>
						<li><a href="#">乳酪蛋糕</a></li>
						<li><a href="#">慕斯蛋糕</a></li>
						<li><a href="#">巧克力风味蛋糕</a></li>
						<li><a href="#">大型庆典蛋糕</a></li>
					</ul>
				</div>
				<div class="goods">

				</div>
			</div>
		</section>
		<footer></footer>
		<script type="text/html" id="sp-list">
			{{each products list}}
			<div class="dg">
				<div class="img1">
					<a href="/html/detail.html?id={{list.id}}"><img src="{{list.image}}" /></a>
			
				</div>
				<div class="dgname">
					<a href="/html/detail.html?id={{list.id}}">{{list.title}}</a>
					<span>/{{list.title}}/</span>
				</div>
				<div class="buy">
					<div class="like">
						<i><img src="../images/like.png"></i>
						<span>1233</span>人喜欢
					</div>
					<div class="price">
						￥<span>{{list.price}}</span>
					</div>
					<div class="gwc">
						<a href="#">立即购买</a>
						<a href="/html/detail.html?id={{list.id}}">查看详情</a>
					</div>
				</div>
			</div>		
			{{/each}}
		</script>
	</body>
</html>
